import request from '@/utils/request'

/**获取店铺数据
 * @param params
 */
 export function getShopList(params) {
  return request({
    url: '/shop',
    method: 'GET',
    params: params
  })
}
/**添加店铺
 * @param data
 */
export function insertShopList(params) {
  return request({
    url: '/shop',
    method: 'post',
    data: params
  })
}
/**删除店铺
 * @param params
 */
export function deleteShopList(params) {
  return request({
    url: '/shop',
    method: 'delete',
    params: params
  })
}
/**修改店铺
 * @param data
 */
export function updateShopList(params) {
  return request({
    url: '/shop',
    method: 'put',
    data: params
  })
}
